<section class="scrollable padder-lg" data-ng-controller="OwnerDriverController">
    <div class="m-b-md">
        <h3 class="m-b-none text-primary">
            <i class="fa fa-twitter"></i> &nbsp;我的驾驶员列表
        </h3>
    </div>
    <!-- 按钮栏 -->
    <section class="panel panel-default scrollable">
        <form class="form-inline ng-pristine ng-valid">
            <header class="panel-heading">
                <div class="row">
                    <div class="col-sm-5 text-left">
                        <div class="od-head-title">驾驶员管理</div>
                    </div>
                    <div class="col-sm-7 text-right">
                        <div class="form-group">
                            <!--<button data-ng-click="openDetailModal()"-->
                                    <!--class="btn btn-sm btn-block btn-success">-->
                                <!--<i class="fa fa-plus"></i> 新增-->
                            <!--</button>-->
                        </div>
                    </div>
                </div>
            </header>
        </form>
        <form name="filterForm" class="form-inline ng-pristine ng-valid padder_search" role="filterForm"
              data-ng-submit="getdriverList()">
            <div class="wrapper">
                <div class="form-group">
                    <input type="text" class="input-sm form-control ng-pristine ng-valid" data-ng-model="name" placeholder="姓名">
                </div>
                <div class="form-group">
                    <button class="btn btn-sm btn-primary" type="submit">
                        &nbsp; &nbsp; 查 询 &nbsp; &nbsp;</button>
                </div>
                <!-- <div class="form-group">
                     <button type="button" title="删除" class="btn  btn-rounded btn-danger"  ng-click="deleteObj()">
                                <i class="fa fa-times-circle"></i>&nbsp; 删除
                            </button>
                </div> -->
            </div>
        </form>


        <!-- 用户数据列表 -->
        <div class="table-responsive">
            <table class="table table-hover b-t b-light">
                <thead>
                <tr>
                    <th>驾驶员姓名</th>
                    <th>驾驶员身份证号</th>
                    <th>性别</th>
                    <th>籍贯</th>
                    <th>年龄</th>
                    <th>联系方式</th>
                    <th>初次领证日期</th>
                    <th>驾驶证有效开始时间</th>
                    <th>驾驶证有效结束时间</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr data-ng-repeat="vo in ownerList" data-ng-class-even="'even'"
                    class="activity-list-table txtl">
                    <td><a href="" class="text-primary"
                           data-ng-click="openDetailModal(vo.id)"> {{vo.name}}</a></td>
                    <td>{{vo.idnum}}</td>
                    <td>{{vo.sex}}</td>
                    <td>{{vo.nativePlace}}</td>
                    <td>{{vo.age}}</td>
                    <td>{{vo.tel}}</td>
                    <td>{{vo.firstTime}}</td>
                    <td>{{vo.startTime}}</td>
                    <td>{{vo.endTime}}</td>
                    <td>
                        <a href="" class="btn btn-sm btn-primary" data-ng-click="openCarDetail(vo.id)">绑定车辆</a>
                        <a ng-if="vo.isEffect == 'none'" href="javascript:void(0);" class="btn btn-sm btn-dark">审核中</a>
                        <a ng-if="vo.isEffect == 'driver'" href="javascript:void(0);" class="btn btn-sm btn-dark">已通过</a>
                        <a ng-if="vo.isEffect == 'failure'" href="javascript:void(0);" class="btn btn-sm btn-dark">未通过</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </section>
</section>

